package com.example.sunmiv1.entity;


import java.util.ArrayList;

/**
 *
 * @author Apathy、恆
 *
 *         父類分組的實體
 *
 * */

public class ChildEntity {

    private int groupColor;

    private String groupName;

    private String id;

    private ArrayList<String> childNames;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /* ==========================================================
     * ======================= get method =======================
     * ========================================================== */

    public int getGroupColor() {
        return groupColor;
    }

    public String getGroupName() {
        return groupName;
    }

    public ArrayList<String> getChildNames() {
        return childNames;
    }

    /* ==========================================================
     * ======================= set method =======================
     * ========================================================== */

    public void setGroupColor(int groupColor) {
        this.groupColor = groupColor;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public void setChildNames(ArrayList<String> childNames) {
        this.childNames = childNames;
    }

    public class ChildNames{
        private String name;
        private String id;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }
}
